<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>属性值</title>
	<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript">
		$(function () {
			alert($(".box").html());

			$(".box").html('<a href="">百度网</a>');


			$('.box').attr({title:'则是以'});

			// alert($('.box').attr('class'));

			// alert($(''))

		})
	</script>
</head>
<body>
	<div class="box">这是一个DIV元素</div>

</body>
</html>
